package com.thor.palmmall.api.pay.union;

import java.util.Map;

import com.thor.commons.exception.ThorServiceException;
import com.thor.palmmall.rest.user.AChannelContents;

/**
 * 
 * @author liyang
 * 
 * @since 1.0
 *
 */
public interface MutiChannelUnionPayService {

  /**
   * 获取银联受理订单号
   * 
   * @param params
   *          参数列表
   * @return
   * @throws ThorServiceException
   */
  public String getUnionPayTradeNo(Map<String, String> params,AChannelContents channel) throws ThorServiceException;


  /**
   * 支付成功回调接口
   * 
   * @param request
   * @return
   */
  public boolean callBack(String request);
}
